package com.ken.springcloud.anno;

import com.ken.springcloud.enums.UsedComponent;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;

/**
 * <ul>
 * <li>Title: anno</li>
 * <li>仅仅一个描述性的注解 而已 </li>
 * </ul>
 *
 * @author swc
 * @date 2021-08-27 16:01
 */
@Documented
@Target({TYPE, METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RemarkInfo {

    UsedComponent[] usedComponent();

    String remark();
}


